#include "Jambiere.h"

Jambiere::Jambiere()
{
}

Jambiere::Jambiere(int c)
{
	switch (c){
		case 1:
		creerJambiereLegere();
		break;

		case 2:
		creerJambiereLourde();
		break;

		case 3:
		creerJambiereStorm();
		break;
	}
}

inline void Jambiere::creerJambiereLegere()
{
	nom_="Jambiere legere";
	defense_=2;
	resistance_=5;
}

inline void Jambiere::creerJambiereLourde()
{
	nom_="Jambiere lourde";
	defense_=3;
	resistance_=15;
}

inline void Jambiere::creerJambiereStorm()
{
	nom_="Jambiere de Stormtrooper";
	defense_=3;
	resistance_=10;
}


